'use client'
import { Button } from 'antd';

import { useRouter } from 'next/navigation';

const Page: React.FC = () => {
	const router = useRouter();
	return (
		<div>
			 <Button type="primary">Primary Button</Button>
			<h1 onClick={() => router.push('/')}>Page</h1>
		</div>
	);
};

export default Page;
